package com.beeantec.jnrerc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

/**
* <p>
* 用户角色实体类
* </p>
*
* @author Anthony
* @since 2020-04-13 16:57
*/
@Data
@TableName("member_role")
public class MemberRole extends Model<MemberRole> {

    private static final long serialVersionUID = 1L;
    
    /**
    * ID
    */
    @TableId(value = "id", type = IdType.AUTO)
    private String id;
    
    /**
    * 用户ID
    */
    @TableField("memberId")
    private String memberId;
    
    /**
    * 角色ID
    */
    @TableField("role_id")
    private String roleId;
    
}
